home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SHUFFL11.ZIP / SHUFFLE.TXT < prev    next >
Text File  |  1996-12-07  |  3KB  |  51 lines

  1.                    -----------------------------------
  2.                    Shuffle v1.1 (c) 1996 Michael Bevin
  3.                    ___________________________________
  4.  
  5. I made this game in the process of learning DJGPP with the ALLEGRO game
  6. programming library, so the focus was more on trying various things out
  7. rather than creating a great game....... this also meant that the source
  8. code is not as easy to follow as it might have been, but anyhow, here it
  9. is.
  10.  
  11. The game should be pretty simple to play, use the arrow keys to navigate
  12. the start menu, space to start - the funny bar third thing down represents
  13. what score to play to and thing below it represents the goal size. The
  14. keypad keys are the arrows, and the keyboard keys are W,A,D,S (or X).
  15.  
  16. The aim of this game is to get the 'puck' into the oppenent's goal more
  17. times than he gets it into yours, and you only score when serving. The
  18. ball interaction routines aren't the greatest and i'd be interested to
  19. hear from anyone who's developed any better ones. I've used a system of
  20. calculating the angle between ball & bat, the angle at which the ball is
  21. moving and subtracting the difference from the former angle to calculate
  22. the out angle, then used the relative bat speed combined with the balls
  23. velocity to work out the resultant speed of the ball. I asked my physics
  24. teacher about it but he was useless so I tried what worked (almost)
  25. rather than applying any physics.
  26.  
  27. The only useful command line option is -n, which turns the sound and
  28. music off. Typing F during the game should cause it to display the fps
  29. rate near the top left corner of the screen - I managed to get it up to
  30. 32 fps on my 386 DX-40 by turning off sound etc!
  31.  
  32. Hope u like the music, I've FINALLY got mods working! Thanx to whoever
  33. wrote the MOD - I was going to use my own .S3M composition but when I
  34. convert it to a MOD and play it in my game it's stuffed... oh well, this
  35. ones really cool anyway, even if it adds to the zip size.
  36.  
  37. btw, this programme is freeware, and the source is free with it if it's
  38. any use to anyone, but if you go wish to change the source or use it in
  39. anything please acknowledge me 4 it :) It needs the Allegro library as
  40. well as some sound blaster library (SB_05.ZIP) plus of course DJGPP.
  41.  
  42. Please write,
  43.  
  44. -------------------------------------------
  45. Michael Bevin
  46. 129 Signal Hill Road
  47. Dunedin
  48. New Zealand
  49. E-mail - michael.bevin@stonebow.otago.ac.nz
  50. -------------------------------------------
  51.